package com.zzmemg.test_flutter

import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity

import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    android.util.Log.d("TAG", "》》》》》》》》》》》》MainActivity")
    GeneratedPluginRegistrant.registerWith(flutterEngine!!)

    BatteryChannel(flutterEngine!!.dartExecutor.binaryMessenger, context = this)
    MessageChannel(flutterEngine!!.dartExecutor.binaryMessenger)
//    NoticeChannel(this, flutterView.dartExecutor.binaryMessenger)
//    MyPlugin.registerWith(flutterView.pluginRegistry)
  }
}
